#from random import randrange
#import time
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>国信财经微博</title> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
<link href="/static/css/jquery-ui-1.8.9.mine.css" type="text/css" rel="stylesheet" />
<link href="/static/css/common.css" type="text/css" rel="stylesheet" />
<link href="/static/css/t.css" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="/static/js/t.js"></script> 
<script type="text/javascript" src="/static/js/jquery-1.4.4.min.js"></script> 
<script type="text/javascript" src="/static/js/jquery-ui-1.8.9.custom.min.js"></script> 
</head>

<body>
<div id="nav-main" class="ui-corner-all c">
	<span><a href="#">国信慧聚</a></span> 
	<span><a href="#">模拟股市</a></span> 
	<span><a href="#">国信赛场</a></span> 
	<span><a href="#">投资博客</a></span> 
	<span><a href="#">投顾直播</a></span>
</div>
<div id="wrap" style="border: 2px;">
<div style="float: left;"><textarea id="t-text" rows="10"
	cols="60">
</textarea></div>
<div style="float: left; margin-left: 20px;">
<div><span style="font-weight: bold; color: red;">$logged_user.name</span>
</div>
<div>
<div>关注：<a href="/follows"><span id="follows-count">$logged_user.follows_count</span></a></div>
<div>粉丝：<a href="/fans"><span id="fans-count">$logged_user.fans_count</span></a></div>
<div>微博：<a href="#"><span id="tweets-count">$logged_user.tweets_count</span></a></div>
<div>博客：<a href="#"><span id="tweets-count">$logged_user.tweets_count</span></a></div>
<div>私信：<a href="#"><span id="tweets-count">$logged_user.tweets_count</span></a></div>


</div>
</div>
<div style="clear: both;">
<button onclick="tweet()">股推</button>
</div>
<div id="tweets">
#for t in $tweets
<p id="$t['_id']">$t.text 
#if $t.user.uid ==$logged_user.uid 
<a href="#" onclick="destroy('$t['_id']')">(-)</a>
#end if 
<span style="font-weight: bold;">$t.user.name</span></p>
#end for
</div>
</div>
</body>
</html>




